const api = {
  department: {
    add: '/sysDepartment/add',
    update: '/sysDepartment/update',
    delete: '/sysDepartment/delete',
    info: '/sysDepartment/info',
    getPageList: '/sysDepartment/getPageList',
    getAllDepartmentList: '/sysDepartment/getAllDepartmentList',
    getDepartmentTree: '/sysDepartment/getDepartmentTree',
    getList: '/sysDepartment/getList'
  },
  user: {
    add: '/sysUser/add',
    update: '/sysUser/update',
    delete: '/sysUser/delete',
    info: '/sysUser/info',
    getPageList: '/sysUser/getPageList',
    updatePassword: '/sysUser/updatePassword',
    resetPassword: '/sysUser/resetPassword',
    uploadHead: '/sysUser/uploadHead',
    usernameUnique: '/sysUser/usernameUnique'
  },
  role: {
    add: '/sysRole/add',
    update: '/sysRole/update',
    delete: '/sysRole/delete',
    info: '/sysRole/info',
    getPageList: '/sysRole/getPageList',
    getList: '/sysRole/getList',
    updateSysRolePermission: '/sysRole/updateSysRolePermission',
    roleNameUnique: '/sysRole/roleNameUnique',
    roleCodeUnique: '/sysRole/roleCodeUnique'
  },
  permission: {
    add: '/sysPermission/add',
    update: '/sysPermission/update',
    delete: '/sysPermission/delete',
    info: '/sysPermission/info',
    getPageList: '/sysPermission/getPageList',
    getAllMenuList: '/sysPermission/getAllMenuList',
    getAllMenuTree: '/sysPermission/getAllMenuTree',
    getGroupMenuTree: '/sysPermission/getGroupMenuTree',
    permissionNameUnique: '/sysPermission/permissionNameUnique',
    permissionCodeUnique: '/sysPermission/permissionCodeUnique',
    getAntCheckedKeysByRoleId: '/sysPermission/getAntCheckedKeysByRoleId'
  }
}

export default api
